YahnisElsts\AdminMenuEditor\Customizable\Settings\AbstractSetting B

Total Complexity 84
Dependencies 7
Dependents 9
Total lines 535
Lines of code 214
Logical lines of code 123
Comment lines 225
Methods 26
Properties 9

Methods 26

Method Rating Maintainability Complexity Lines of code
serializeSettingsForJs()
B
40 23 57
recursivelyIterateSettings()
A
56 8 16
notifyUpdated()
S
59 6 15
__construct()
S
58 6 15
canBeDeleted()
S
62 6 11
applyValidators()
S
58 5 16
preview()
S
60 4 14
saveAll()
S
62 4 12
subscribeDeferred()
S
68 2 7
isEditableByUser()
S
72 2 6
sendPendingNotifications()
S
69 2 7
getNotificationQueue()
S
71 2 6
getDefaultValue()
S
100 1 0
hasTag()
S
79 1 3
update()
S
100 1 0
serializeValidationRules()
S
82 1 3
enablePostMessageSupport()
S
77 1 4
addTags()
S
75 1 4
getTags()
S
82 1 3
supportsPostMessage()
S
82 1 3
validate()
S
100 1 0
getValue()
S
100 1 0
getRecommendedControls()
S
82 1 3
getDataType()
S
82 1 3
validateFormValue()
S
79 1 3
subscribe()
S
80 1 3